<template>
  <div class="login-page">
    <div class="page-center">
      <!-- <div class="info">
        <div class="title">
          <img src="" alt />
          <span></span>
        </div>
        <div class="detail">
          <span></span>
        </div>
      </div> -->
      
      <div class="login-title">
        <div>欢迎进入</div>
        <br>
        <div>后台管理平台</div>
      </div>
      <!-- 插槽 -->
      <div class="container">
        <slot name="container"></slot>
      </div>
    </div>
  </div>
</template>

<script lang="ts">
import { Component, Vue } from "vue-property-decorator";

@Component({
  components: {}
})
export default class LayoutHeader extends Vue {}
</script>

<style lang="scss" scoped>
.login-page {
  width: 100%;
  height: 100%;
  background-image: url(../../assets/login-back.svg);
  background-repeat: no-repeat;
  background-position: center 110px;
  background-size: 100%;
  .page-center {
    position: absolute;
    width: 825px;
    // background-image: url(../../static/BG.png);
    box-shadow: 0 0 25px #cac6c6;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: 100% 100%;
    margin: 0 auto;
    border-radius: 15px;
    top: 50%;
    margin-top: -240px;
    right: 0;
    left: 0;
    // .info {
    //   text-align: center;
    //   // height: 150px;
    //   .title {
    //     display: flex;
    //     justify-content: center;
    //     align-items: Center;
    //     font-size: 32px;
    //     color: rgba(0, 0, 0, 0.85);
    //     font-family: "Myriad Pro", "Helvetica Neue", Arial, Helvetica,
    //       sans-serif;
    //     font-weight: 600;
    //     img {
    //       width: 200px;
    //       padding-bottom: 3px;
    //     }
    //   }
    //   .detail {
    //     font-size: 14px;
    //     color: rgba(0, 0, 0, 0.45);
    //     margin-bottom: 40px;
    //     line-height: 1.5;
    //   }
    // }
    .login-title {
      font-size: 28px;
      color: #fff;
      letter-spacing: 9px;
      margin: 30px 0 80px 30px;
      position: absolute;
    }
    .container {
      -webkit-border-radius:0 15px 15px 0;
      border-radius: 0 15px 15px 0;
      -moz-border-radius: 0 15px 15px 0;
      background-clip: padding-box;
      padding: 35px 35px 15px 35px;
      background: #fff;
      border: 1px solid #eaeaea;
      height: 428px;
      width: 265px;
      float: right;
    }
  }
}
</style>
